package com.asset.dispoal.file.feature.service.command;

import com.asset.dispoal.file.feature.domain.db.mapper.FileFeatureTableMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import tech.mhuang.pacebox.core.ddd.BaseCommand;
import tech.mhuang.pacebox.springboot.protocol.Result;

@Component
public class DeleteFileFeatureTableExpandCommand implements BaseCommand<String, Result> {
    @Autowired
    FileFeatureTableMapper fileFeatureTableMapper;

    @Override
    public Result execute(String id) {
        fileFeatureTableMapper.deleteExpand(id);
        return Result.ok();
    }
}
